package heman.server.controllerchain;

import heman.server.controllers.RejectResponseController;
import ks.framework.common.Message;
import ks.framework.communicator.Communicator;
import ks.server.controllers.ServerControllerChain;

public class RejectResponseControllerChain extends ServerControllerChain {
	/**
	 * add RejectResponseController
	 * @author Yanyi Zhang
	 *
	 */
	@Override
	public boolean process(Communicator com, Message m){
		if(m.getName().equals ("rejectResponse")) {
			return new RejectResponseController().process(com, m);
		}
		return next (com, m);
	}
}
